package com.jingdianjichi.project.domain.convert;

import com.jingdianjichi.project.domain.bo.SubjectCategoryBo;
import com.jingdianjichi.project.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName:SubjectCategoryConverter
 * Package:com.jingdianjichi.subject.domain.convert
 * Description:
 *
 * @Author fst
 * @Create 2024/9/26 15:45
 * @Version 1.0
 */
@Mapper
public interface SubjectCategoryConverter
{
    SubjectCategoryConverter INSTANCE= Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategory convertBoToCategory(SubjectCategoryBo subjectCategoryBo);

    List<SubjectCategoryBo> convertBoToCategoryList(List<SubjectCategory> subjectCategoryList);

}
